Mitsubishi PLC GX Works 2 - Mitsubishi PLC GX Works 2 Programming Guide

Published on Oct17, 2024 | Category: GX Works 2
Share this article:

Mitsubishi PLC GX Works 2 is software developed by Mitsubishi for Mitsubishi PLC and controller. Mitsubishi GX works 2 use for configuration, programming, monitoring, communication settings, debugging of Mitsubishi PLC. this software is not free to use. GX works 2 support ladder programming, structure text, instruction list, sfc and FBD for programming of plc. gx works 2 followed all IEC standard for PLC. GX works 2 also support simulation for testing a program without a real controller. GX Works 2 have same instruction like GX developer. GX works 2 support Q, L, FX and A Series controller. GX Works 2 have all necessary features to start a program from basic knowledge of plc. it\'s user interface help to find all instruction and function.

create a new project in GX works 2

Open your GX works 2 and click to file > New or press Ctrl+N

img/GX works 2 Intro/create a new project in GX works 2.webp

Select CPU, PLC and programming language in GX works 2

when you create a new file a new project dialogue open in this dialogue box select series of plc, cpu of plc, project type and programming language. IN gx works 2 you can make two type of project

use following setting to make a proper new project and pressed ok.

img/GX works 2 Intro/Select CPU, PLC and programming language in GX works 2.webp

create a simple program in GX works 2

after creating a project next to make a program to download a plc in this article we make very simple program in first rung a normally open contact and a output coil, in second rung a normally open coil and a on delay timer T0 with preset value K20, in third rung normally open contact With address T0 and output y1.

img/GX works 2 Intro/create a simple program in GX works 2.webp

Build a Program in Gx works 2

once your program is finished than next step is to build a program build program check error in your program once you successfully build your project than you can download project to your plc. when you change you change in your program always re build your program to download to plc. for build project go to compile and select build or press F4.

img/GX works 2 Intro/Build a Program in Gx works 2.webp

communcicate Mitsubishi PLC to GX works 2

communication between plc to sofware is very important part in plc programming so in GX works 2 have connection destination in this section you can add new connection or configure to existing connection. Always remember following things for proper communication

img/GX works 2 Intro/communcicate Mitsubishi PLC to GX works 2.webp

simulation in Mitsubishi GX works 2

simulator works as a virtual controller if you don't have a real plc than you can use virtual controller(simulator) to run and test program. for simulation make a program and build it as described above. now go to Debug and select start stop simulation. if you made change in your program than rebuild your program again and write program to plc again.

img/GX works 2 Intro/simulation in Mitsubishi GX works 2.webp

test program in Mitsubishi GX works 2

test program work after download program to controller or simulator make a plc or simulator to run mode and than right click to instruction and select debug > modify value option

img/GX works 2 Intro/test program in Mitsubishi GX works 2.webp

Modify value in Mitsubishi GX works 2

when you select modify value than a modify dialogue open in this dialogue you can modify value for testing purpose. if your value is bit type so you can make ON or OFF and if the value is numerical type set numerical value with address.

img/GX works 2 Intro/Modify value in Mitsubishi GX works 2.webp

change plc parameter of Mitsubishi PLC in GX works 2

Project contents displayed in the Project view in tree format are as follows. Contents displayed in the view may vary depending on programmable controller types and project types. in project view you have a plc parameter option where you can change necessary and important setting of plc like plc name and label, I/o assignment to change plc parameter double click on plc parameter

img/GX works 2 Intro/change plc parameter of Mitsubishi PLC in GX works 2.webp

plc parameter setting of Mitsubishi PLC in GX works 2

when you open plc parameter a new window open here you can make following setting